package com.edu.whty.entity.system;

import java.util.Date;

/**
 * 平台域名表
 * @author shijiapeng
 * @date 2015年8月21日 下午3:48:46
 */
public class SysDomain {

	/** 模板domainId，新增域名配置按模板配置来 */
	public static final String DEFAULT_DOMAIN_ID = "0";
	
	private String id;// varchar2(32) n 主键
	private String domain;// varchar2(50) y 域名，为0时表示为模板，其他如huixue.com
	private String describe;// varchar2(100) y 描述
	private Date createTime = new Date();// date y 创建时间
	private String createrId;// varchar2(50) y 创建者id
	private String createrName;// varchar2(50) y 创建者姓名
	private String platformCode;// varchar2(10) y 平台编码
	private Integer deleted = 0;// number(1) y 是否删除1是0否
	private String loginPlatformCode;// varchar2(10) y 登录平台编码
	
	private String fromDomain;
	
	private String demoDomainId;
	
	public String getLoginPlatformCode() {
		return loginPlatformCode;
	}

	public void setLoginPlatformCode(String loginPlatformCode) {
		this.loginPlatformCode = loginPlatformCode;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getDomain() {
		return domain;
	}

	public void setDomain(String domain) {
		this.domain = domain;
	}

	public String getDescribe() {
		return describe;
	}

	public void setDescribe(String describe) {
		this.describe = describe;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreaterId() {
		return createrId;
	}

	public void setCreaterId(String createrId) {
		this.createrId = createrId;
	}

	public String getCreaterName() {
		return createrName;
	}

	public void setCreaterName(String createrName) {
		this.createrName = createrName;
	}

	public String getPlatformCode() {
		return platformCode;
	}

	public void setPlatformCode(String platformCode) {
		this.platformCode = platformCode;
	}

	public Integer getDeleted() {
		return deleted;
	}

	public void setDeleted(Integer deleted) {
		this.deleted = deleted;
	}

	@Override
	public String toString() {
		return "SysDomain [id=" + id + ", domain=" + domain + ", describe="
				+ describe + ", createTime=" + createTime + ", createrId="
				+ createrId + ", createrName=" + createrName
				+ ", platformCode=" + platformCode + ", deleted=" + deleted
				+ "]";
	}

	public String getFromDomain() {
		return fromDomain;
	}

	public void setFromDomain(String fromDomain) {
		this.fromDomain = fromDomain;
	}

	public String getDemoDomainId() {
		return demoDomainId;
	}

	public void setDemoDomainId(String demoDomainId) {
		this.demoDomainId = demoDomainId;
	}

}
